<#include "/common/layout.html"> 
<@layout title="123">
<script type="text/javascript" src="/js/easyui/easyui_grid.js"></script>
<script type="text/javascript">
var model_name = "/shop";
var model_title="商户列表";
var datagrid;
	$(function() {
		datagrid=$('#form_datagrid').datagrid({
		 	url:model_name+'/grid',
		 	rownumbers:true,
		 	columns:[[    
		        {field:'id',title:'编号',checkbox:true},
		        {field:'name',title:'商户名称'},
		        {field:'address',title:'商户地址'},
		        {field:'phone',title:'商户电话'},
		        {field:'logo',title:'商户图片',
		        formatter:function(value,row,index){
		        	if(value)
		        	return "<span url='"+value+"' style='cursor:pointer;color:blue;'  onmouseover='hoverShow(this);'onmouseout='$(\"#imgShow\").hide();'>"+value+"</span>";
		        }},
		        {field:'work_hours',title:'工作时间'},
		        {field:'create_time',title:'创建时间'},
		        {field:'update_time',title:'修改时间'}
		    ]]
		})
	})
</script>
<script type="text/javascript" src="/js/easyui/easyui_grid_common.js"></script>
</head>
	<#include "/common/seach.html" />
	<@seach>
	<td>商户名称</td>
	<td><input type="text" name="seachLike_name"></li></td>
	</@seach>
</@layout>